﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleFactoryPattern
{
    abstract class Operate
    {
        public int Num1 { get; set; }

        public int Num2 { get; set; }

        public int Result { get; set; }

        public string Op { get; set; }

        public virtual void OperateResult()
        {
            Result = 0;
        }
    }

}
